ConnectableObservableAsync class¶
Defined in
Namespace: ReactiveUI.Extensions.Async
Assembly: ReactiveUI.Extensions.dll
Full name: ReactiveUI.Extensions.Async.ConnectableObservableAsync<T>
Modifiers: public abstract
Summary¶
Represents an asynchronous observable sequence that can be connected to a data source, allowing control over when
the subscription to the underlying resource is established.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Class hierarchy
classDiagram
class ConnectableObservableAsync~T~
class ObservableAsync~T~
ObservableAsync~T~ <|-- ConnectableObservableAsync~T~
Inherits from: ObservableAsync
Remarks¶
A connectable observable enables explicit control over the connection to the data source, which can be useful for sharing a single subscription among multiple observers or for deferring the start of data emission until explicitly connected. Implementations may vary in how connections are managed and whether multiple connections are supported concurrently.
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Methods¶
| Name | Summary |
|---|---|
| ConnectAsync | Asynchronously establishes a connection to the target resource and returns a disposable handle for managing the connection's lifetime. |